package com.service.quartz.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class TaskDto {
    protected int id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected Date createAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected Date updateAt;
    private String title;

    private String notifyUrl;

    private String notifyData;

    private String notifyResult;

    /*通知状态：0-未通知，1-已通知，2-通知失败*/
    private int notifyState;

    private int maxRetry;

    private String cronTab;

}
